package com.dt76.smallloanbackendservice.mapper.lhuaw;

import com.dt76.smallloanbackendservice.pojo.lhuaw.AdvertisingManagement;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdvertisingManagementMapper {
    List<AdvertisingManagement> qryAllAdvert();
    List<AdvertisingManagement> getConditionPageAllAdvertising(
            @Param("start") int start,
            @Param("size") int size,
            @Param("advertisingName") String advertisingName,
            @Param("advertisingLocation") String advertisingLocation
    );
    int qryConditionCountAdvertising(@Param("advertisingName") String advertisingName,
                                     @Param("advertisingLocation") String advertisingLocation
    );
    //删除
    void delAdvertising(@Param("advId") int advId);
}
